package com.prisetree.isv.domain.query;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OfficeBookingsExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OfficeBookingsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBookingStateIsNull() {
            addCriterion("booking_state is null");
            return (Criteria) this;
        }

        public Criteria andBookingStateIsNotNull() {
            addCriterion("booking_state is not null");
            return (Criteria) this;
        }

        public Criteria andBookingStateEqualTo(String value) {
            addCriterion("booking_state =", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateNotEqualTo(String value) {
            addCriterion("booking_state <>", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateGreaterThan(String value) {
            addCriterion("booking_state >", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateGreaterThanOrEqualTo(String value) {
            addCriterion("booking_state >=", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateLessThan(String value) {
            addCriterion("booking_state <", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateLessThanOrEqualTo(String value) {
            addCriterion("booking_state <=", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateLike(String value) {
            addCriterion("booking_state like", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateNotLike(String value) {
            addCriterion("booking_state not like", value, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateIn(List<String> values) {
            addCriterion("booking_state in", values, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateNotIn(List<String> values) {
            addCriterion("booking_state not in", values, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateBetween(String value1, String value2) {
            addCriterion("booking_state between", value1, value2, "bookingState");
            return (Criteria) this;
        }

        public Criteria andBookingStateNotBetween(String value1, String value2) {
            addCriterion("booking_state not between", value1, value2, "bookingState");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("company_name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("company_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("company_name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("company_name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("company_name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("company_name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("company_name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("company_name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("company_name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("company_name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("company_name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("company_name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("company_name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("company_name not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileIsNull() {
            addCriterion("company_mobile is null");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileIsNotNull() {
            addCriterion("company_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileEqualTo(String value) {
            addCriterion("company_mobile =", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileNotEqualTo(String value) {
            addCriterion("company_mobile <>", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileGreaterThan(String value) {
            addCriterion("company_mobile >", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileGreaterThanOrEqualTo(String value) {
            addCriterion("company_mobile >=", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileLessThan(String value) {
            addCriterion("company_mobile <", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileLessThanOrEqualTo(String value) {
            addCriterion("company_mobile <=", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileLike(String value) {
            addCriterion("company_mobile like", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileNotLike(String value) {
            addCriterion("company_mobile not like", value, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileIn(List<String> values) {
            addCriterion("company_mobile in", values, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileNotIn(List<String> values) {
            addCriterion("company_mobile not in", values, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileBetween(String value1, String value2) {
            addCriterion("company_mobile between", value1, value2, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andCompanyMobileNotBetween(String value1, String value2) {
            addCriterion("company_mobile not between", value1, value2, "companyMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdIsNull() {
            addCriterion("office_resources_id is null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdIsNotNull() {
            addCriterion("office_resources_id is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdEqualTo(String value) {
            addCriterion("office_resources_id =", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdNotEqualTo(String value) {
            addCriterion("office_resources_id <>", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdGreaterThan(String value) {
            addCriterion("office_resources_id >", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdGreaterThanOrEqualTo(String value) {
            addCriterion("office_resources_id >=", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdLessThan(String value) {
            addCriterion("office_resources_id <", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdLessThanOrEqualTo(String value) {
            addCriterion("office_resources_id <=", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdLike(String value) {
            addCriterion("office_resources_id like", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdNotLike(String value) {
            addCriterion("office_resources_id not like", value, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdIn(List<String> values) {
            addCriterion("office_resources_id in", values, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdNotIn(List<String> values) {
            addCriterion("office_resources_id not in", values, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdBetween(String value1, String value2) {
            addCriterion("office_resources_id between", value1, value2, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesIdNotBetween(String value1, String value2) {
            addCriterion("office_resources_id not between", value1, value2, "officeResourcesId");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameIsNull() {
            addCriterion("office_resources_name is null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameIsNotNull() {
            addCriterion("office_resources_name is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameEqualTo(String value) {
            addCriterion("office_resources_name =", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameNotEqualTo(String value) {
            addCriterion("office_resources_name <>", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameGreaterThan(String value) {
            addCriterion("office_resources_name >", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameGreaterThanOrEqualTo(String value) {
            addCriterion("office_resources_name >=", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameLessThan(String value) {
            addCriterion("office_resources_name <", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameLessThanOrEqualTo(String value) {
            addCriterion("office_resources_name <=", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameLike(String value) {
            addCriterion("office_resources_name like", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameNotLike(String value) {
            addCriterion("office_resources_name not like", value, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameIn(List<String> values) {
            addCriterion("office_resources_name in", values, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameNotIn(List<String> values) {
            addCriterion("office_resources_name not in", values, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameBetween(String value1, String value2) {
            addCriterion("office_resources_name between", value1, value2, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesNameNotBetween(String value1, String value2) {
            addCriterion("office_resources_name not between", value1, value2, "officeResourcesName");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddIsNull() {
            addCriterion("office_resources_add is null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddIsNotNull() {
            addCriterion("office_resources_add is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddEqualTo(String value) {
            addCriterion("office_resources_add =", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddNotEqualTo(String value) {
            addCriterion("office_resources_add <>", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddGreaterThan(String value) {
            addCriterion("office_resources_add >", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddGreaterThanOrEqualTo(String value) {
            addCriterion("office_resources_add >=", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddLessThan(String value) {
            addCriterion("office_resources_add <", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddLessThanOrEqualTo(String value) {
            addCriterion("office_resources_add <=", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddLike(String value) {
            addCriterion("office_resources_add like", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddNotLike(String value) {
            addCriterion("office_resources_add not like", value, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddIn(List<String> values) {
            addCriterion("office_resources_add in", values, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddNotIn(List<String> values) {
            addCriterion("office_resources_add not in", values, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddBetween(String value1, String value2) {
            addCriterion("office_resources_add between", value1, value2, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesAddNotBetween(String value1, String value2) {
            addCriterion("office_resources_add not between", value1, value2, "officeResourcesAdd");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileIsNull() {
            addCriterion("office_resources_mobile is null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileIsNotNull() {
            addCriterion("office_resources_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileEqualTo(String value) {
            addCriterion("office_resources_mobile =", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileNotEqualTo(String value) {
            addCriterion("office_resources_mobile <>", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileGreaterThan(String value) {
            addCriterion("office_resources_mobile >", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileGreaterThanOrEqualTo(String value) {
            addCriterion("office_resources_mobile >=", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileLessThan(String value) {
            addCriterion("office_resources_mobile <", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileLessThanOrEqualTo(String value) {
            addCriterion("office_resources_mobile <=", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileLike(String value) {
            addCriterion("office_resources_mobile like", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileNotLike(String value) {
            addCriterion("office_resources_mobile not like", value, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileIn(List<String> values) {
            addCriterion("office_resources_mobile in", values, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileNotIn(List<String> values) {
            addCriterion("office_resources_mobile not in", values, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileBetween(String value1, String value2) {
            addCriterion("office_resources_mobile between", value1, value2, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andOfficeResourcesMobileNotBetween(String value1, String value2) {
            addCriterion("office_resources_mobile not between", value1, value2, "officeResourcesMobile");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}